package model;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * JsfCoach entity. @author MyEclipse Persistence Tools
 */

public class JsfCoach implements java.io.Serializable {

	// Fields

	private Integer id;
	private String password;
	private String idCard;
	private String name;
	private String phoneNum;
	private String sex;
	private Date age;
	private String address;
	private Integer status;
	private Set jsfClasses = new HashSet(0);

	// Constructors

	/** default constructor */
	public JsfCoach() {
	}

	/** minimal constructor */
	public JsfCoach(String password) {
		this.password = password;
	}

	/** full constructor */
	public JsfCoach(String password, String idCard, String name,
			String phoneNum, String sex, Date age, String address,
			Integer status, Set jsfClasses) {
		this.password = password;
		this.idCard = idCard;
		this.name = name;
		this.phoneNum = phoneNum;
		this.sex = sex;
		this.age = age;
		this.address = address;
		this.status = status;
		this.jsfClasses = jsfClasses;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getIdCard() {
		return this.idCard;
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhoneNum() {
		return this.phoneNum;
	}

	public void setPhoneNum(String phoneNum) {
		this.phoneNum = phoneNum;
	}

	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Date getAge() {
		return this.age;
	}

	public void setAge(Date age) {
		this.age = age;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Set getJsfClasses() {
		return this.jsfClasses;
	}

	public void setJsfClasses(Set jsfClasses) {
		this.jsfClasses = jsfClasses;
	}

}